package com.ruoyi.yljf.domain.vo;

import com.ruoyi.common.utils.bean.BeanUtils;
import com.ruoyi.yljf.domain.CoursePackage;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 课程章节练习VO
 *
 * @author metaee
 * @date 2025-03-06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CoursePackagePracticeVO {

    /** 主键id */
    private Long id;

    /** 课程章节名 */
    private String name;

    private Integer curCount;

    private Integer practiceCount;

    public CoursePackagePracticeVO(CoursePackage coursePackage) {
        BeanUtils.copyProperties(coursePackage, this);
    }

}
